import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 图片懒加载
import Vuelazeyload from 'vue-lazyload';
Vue.use(Vuelazeyload);

//el-ui
import 'element-ui/lib/theme-chalk/index.css';
import * as elementUi from './elementUi/index'
Vue.config.productionTip = false

// api
import api from './api/user'
Vue.prototype.$api = api;
//elementui滚动条
import infiniteScroll from "vue-infinite-scroll";
Vue.use(infiniteScroll);


new Vue({
  elementUi,
  router,
  store,
  render: h => h(App)
}).$mount('#app')
